package hcn.protocol.ods.checkAppointment.xml;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 检查项目的可预约日期查询XML入参
 *
 * @author neoLin - 2023/01/30 15:48
 **/
@XmlRootElement(name = "MsgBody")
public class QueryAppointDateXmlRequest {

    private Item item;

    @XmlElement(name = "Item")
    public Item getItem() {
        return item;
    }

    public void setItem(Item item) {
        this.item = item;
    }

    @XmlRootElement(name = "Item")
    public static class Item {
        /**
         * 检查申请单号
         */
        private String requestId;
        /**
         * 机构代码
         */
        private String organization;
        /**
         * 检查项目代码
         */
        private String itemCode;
        /**
         * 检查项目名称
         */
        private String itemName;

        @XmlElement(name = "RequestId")
        public String getRequestId() {
            return requestId;
        }

        public void setRequestId(String requestId) {
            this.requestId = requestId;
        }

        @XmlElement(name = "Organization")
        public String getOrganization() {
            return organization;
        }

        public void setOrganization(String organization) {
            this.organization = organization;
        }

        @XmlElement(name = "ItemCode")
        public String getItemCode() {
            return itemCode;
        }

        public void setItemCode(String itemCode) {
            this.itemCode = itemCode;
        }

        @XmlElement(name = "ItemName")
        public String getItemName() {
            return itemName;
        }

        public void setItemName(String itemName) {
            this.itemName = itemName;
        }
    }
}
